<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: fsm_slave_scan.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('fsm__slave__scan_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">fsm_slave_scan.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>EtherCAT slave state machines.  
<a href="#details">More...</a></p>

<p><a href="fsm__slave__scan_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a01d55ef95cfd9a04abfd949790820743"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a01d55ef95cfd9a04abfd949790820743">ec_fsm_slave_scan_state_start</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a01d55ef95cfd9a04abfd949790820743"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: START.  <a href="#a01d55ef95cfd9a04abfd949790820743">More...</a><br /></td></tr>
<tr class="separator:a01d55ef95cfd9a04abfd949790820743"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe0ecde5ce1983b239e2da3b481e8dce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#abe0ecde5ce1983b239e2da3b481e8dce">ec_fsm_slave_scan_state_address</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:abe0ecde5ce1983b239e2da3b481e8dce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: ADDRESS.  <a href="#abe0ecde5ce1983b239e2da3b481e8dce">More...</a><br /></td></tr>
<tr class="separator:abe0ecde5ce1983b239e2da3b481e8dce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d291ff3d71a437adbe788f34a08ceb7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a7d291ff3d71a437adbe788f34a08ceb7">ec_fsm_slave_scan_state_state</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a7d291ff3d71a437adbe788f34a08ceb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: STATE.  <a href="#a7d291ff3d71a437adbe788f34a08ceb7">More...</a><br /></td></tr>
<tr class="separator:a7d291ff3d71a437adbe788f34a08ceb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55dd4ea96a7cbf72cd23b0303f58ecb9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a55dd4ea96a7cbf72cd23b0303f58ecb9">ec_fsm_slave_scan_state_base</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a55dd4ea96a7cbf72cd23b0303f58ecb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: BASE.  <a href="#a55dd4ea96a7cbf72cd23b0303f58ecb9">More...</a><br /></td></tr>
<tr class="separator:a55dd4ea96a7cbf72cd23b0303f58ecb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9a1c7e217c1b92f7465067dde64aacb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#ab9a1c7e217c1b92f7465067dde64aacb">ec_fsm_slave_scan_state_dc_cap</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:ab9a1c7e217c1b92f7465067dde64aacb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: DC CAPABILITIES.  <a href="#ab9a1c7e217c1b92f7465067dde64aacb">More...</a><br /></td></tr>
<tr class="separator:ab9a1c7e217c1b92f7465067dde64aacb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c82c04700224f13a983264beab8d7f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a9c82c04700224f13a983264beab8d7f6">ec_fsm_slave_scan_state_dc_times</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a9c82c04700224f13a983264beab8d7f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: DC TIMES.  <a href="#a9c82c04700224f13a983264beab8d7f6">More...</a><br /></td></tr>
<tr class="separator:a9c82c04700224f13a983264beab8d7f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bcfc5f5a8c67418625ea01664b85130"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a8bcfc5f5a8c67418625ea01664b85130">ec_fsm_slave_scan_state_datalink</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a8bcfc5f5a8c67418625ea01664b85130"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: DATALINK.  <a href="#a8bcfc5f5a8c67418625ea01664b85130">More...</a><br /></td></tr>
<tr class="separator:a8bcfc5f5a8c67418625ea01664b85130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a539ce44be83455b1651c29da7357f483"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a539ce44be83455b1651c29da7357f483">ec_fsm_slave_scan_state_sii_size</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a539ce44be83455b1651c29da7357f483"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: SII SIZE.  <a href="#a539ce44be83455b1651c29da7357f483">More...</a><br /></td></tr>
<tr class="separator:a539ce44be83455b1651c29da7357f483"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1d34306750a2c345bb81b4d795427c0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#ac1d34306750a2c345bb81b4d795427c0">ec_fsm_slave_scan_state_sii_data</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:ac1d34306750a2c345bb81b4d795427c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: SII DATA.  <a href="#ac1d34306750a2c345bb81b4d795427c0">More...</a><br /></td></tr>
<tr class="separator:ac1d34306750a2c345bb81b4d795427c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45a7dff65d10e03da84754eb73be7d85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a45a7dff65d10e03da84754eb73be7d85">ec_fsm_slave_scan_state_preop</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a45a7dff65d10e03da84754eb73be7d85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: PREOP.  <a href="#a45a7dff65d10e03da84754eb73be7d85">More...</a><br /></td></tr>
<tr class="separator:a45a7dff65d10e03da84754eb73be7d85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab25422fd2748169ea2fc8827137d1cbf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#ab25422fd2748169ea2fc8827137d1cbf">ec_fsm_slave_scan_state_sync</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:ab25422fd2748169ea2fc8827137d1cbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: SYNC.  <a href="#ab25422fd2748169ea2fc8827137d1cbf">More...</a><br /></td></tr>
<tr class="separator:ab25422fd2748169ea2fc8827137d1cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab38334b5c2095e952b5e76906f70658a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#ab38334b5c2095e952b5e76906f70658a">ec_fsm_slave_scan_state_pdos</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:ab38334b5c2095e952b5e76906f70658a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan state: PDOS.  <a href="#ab38334b5c2095e952b5e76906f70658a">More...</a><br /></td></tr>
<tr class="separator:ab38334b5c2095e952b5e76906f70658a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3baaae371ddb7a305d1d37b7b9175604"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a3baaae371ddb7a305d1d37b7b9175604">ec_fsm_slave_scan_state_end</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a3baaae371ddb7a305d1d37b7b9175604"><td class="mdescLeft">&#160;</td><td class="mdescRight">State: END.  <a href="#a3baaae371ddb7a305d1d37b7b9175604">More...</a><br /></td></tr>
<tr class="separator:a3baaae371ddb7a305d1d37b7b9175604"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1fc71bdea10b2c4d4d1a24c67d14915"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#ae1fc71bdea10b2c4d4d1a24c67d14915">ec_fsm_slave_scan_state_error</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:ae1fc71bdea10b2c4d4d1a24c67d14915"><td class="mdescLeft">&#160;</td><td class="mdescRight">State: ERROR.  <a href="#ae1fc71bdea10b2c4d4d1a24c67d14915">More...</a><br /></td></tr>
<tr class="separator:ae1fc71bdea10b2c4d4d1a24c67d14915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3357ab75dcccf4f03ce2621de48044d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a3357ab75dcccf4f03ce2621de48044d9">ec_fsm_slave_scan_enter_datalink</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a3357ab75dcccf4f03ce2621de48044d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave scan entry function: DATALINK.  <a href="#a3357ab75dcccf4f03ce2621de48044d9">More...</a><br /></td></tr>
<tr class="separator:a3357ab75dcccf4f03ce2621de48044d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecfeac1eba1a56c496c9e41399695cfb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#aecfeac1eba1a56c496c9e41399695cfb">ec_fsm_slave_scan_enter_preop</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:aecfeac1eba1a56c496c9e41399695cfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enter slave scan state PREOP.  <a href="#aecfeac1eba1a56c496c9e41399695cfb">More...</a><br /></td></tr>
<tr class="separator:aecfeac1eba1a56c496c9e41399695cfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8175ccbe5743b4a7e3c3450122ecb70d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a8175ccbe5743b4a7e3c3450122ecb70d">ec_fsm_slave_scan_enter_pdos</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a8175ccbe5743b4a7e3c3450122ecb70d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enter slave scan state PDOS.  <a href="#a8175ccbe5743b4a7e3c3450122ecb70d">More...</a><br /></td></tr>
<tr class="separator:a8175ccbe5743b4a7e3c3450122ecb70d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cc2c3a15907436ab5261917eac11368"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a8cc2c3a15907436ab5261917eac11368">ec_fsm_slave_scan_init</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram, <a class="el" href="fsm__slave__config_8h.html#a31e1e414b22a05b9dd1302d6ed036c0b">ec_fsm_slave_config_t</a> *fsm_slave_config, <a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm_pdo)</td></tr>
<tr class="memdesc:a8cc2c3a15907436ab5261917eac11368"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a8cc2c3a15907436ab5261917eac11368">More...</a><br /></td></tr>
<tr class="separator:a8cc2c3a15907436ab5261917eac11368"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe0acf4f2239f98a2c64140d8239dbfe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#abe0acf4f2239f98a2c64140d8239dbfe">ec_fsm_slave_scan_clear</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:abe0acf4f2239f98a2c64140d8239dbfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#abe0acf4f2239f98a2c64140d8239dbfe">More...</a><br /></td></tr>
<tr class="separator:abe0acf4f2239f98a2c64140d8239dbfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83f6387b6036e27b4ac97a992ec17367"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a83f6387b6036e27b4ac97a992ec17367">ec_fsm_slave_scan_start</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm, <a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *slave)</td></tr>
<tr class="memdesc:a83f6387b6036e27b4ac97a992ec17367"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start slave scan state machine.  <a href="#a83f6387b6036e27b4ac97a992ec17367">More...</a><br /></td></tr>
<tr class="separator:a83f6387b6036e27b4ac97a992ec17367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac672b3caec7befa075a341b2c2020cc3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#ac672b3caec7befa075a341b2c2020cc3">ec_fsm_slave_scan_running</a> (const <a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="separator:ac672b3caec7befa075a341b2c2020cc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac927c8c1c03764c0f9d86639968f3111"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#ac927c8c1c03764c0f9d86639968f3111">ec_fsm_slave_scan_exec</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:ac927c8c1c03764c0f9d86639968f3111"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes the current state of the state machine.  <a href="#ac927c8c1c03764c0f9d86639968f3111">More...</a><br /></td></tr>
<tr class="separator:ac927c8c1c03764c0f9d86639968f3111"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae24bf2f23955c4ab08862330f578c749"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#ae24bf2f23955c4ab08862330f578c749">ec_fsm_slave_scan_success</a> (const <a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="separator:ae24bf2f23955c4ab08862330f578c749"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92b43c9b40ef144ddd93bac1011fe6c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__slave__scan_8c.html#a92b43c9b40ef144ddd93bac1011fe6c2">ec_fsm_slave_scan_enter_sii_size</a> (<a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *fsm)</td></tr>
<tr class="memdesc:a92b43c9b40ef144ddd93bac1011fe6c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enter slave scan state SII_SIZE.  <a href="#a92b43c9b40ef144ddd93bac1011fe6c2">More...</a><br /></td></tr>
<tr class="separator:a92b43c9b40ef144ddd93bac1011fe6c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>EtherCAT slave state machines. </p>

<p class="definition">Definition in file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a01d55ef95cfd9a04abfd949790820743"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01d55ef95cfd9a04abfd949790820743">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_start()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: START. </p>
<p>First state of the slave state machine. Writes the station address to the slave, according to its ring position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00174">174</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="abe0ecde5ce1983b239e2da3b481e8dce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe0ecde5ce1983b239e2da3b481e8dce">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_address()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_address </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: ADDRESS. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00189">189</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a7d291ff3d71a437adbe788f34a08ceb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d291ff3d71a437adbe788f34a08ceb7">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_state()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_state </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: STATE. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00227">227</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a55dd4ea96a7cbf72cd23b0303f58ecb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55dd4ea96a7cbf72cd23b0303f58ecb9">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_base()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_base </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: BASE. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00271">271</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="ab9a1c7e217c1b92f7465067dde64aacb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9a1c7e217c1b92f7465067dde64aacb">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_dc_cap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_dc_cap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: DC CAPABILITIES. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00345">345</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a9c82c04700224f13a983264beab8d7f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c82c04700224f13a983264beab8d7f6">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_dc_times()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_dc_times </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: DC TIMES. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00390">390</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a8bcfc5f5a8c67418625ea01664b85130"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bcfc5f5a8c67418625ea01664b85130">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_datalink()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_datalink </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: DATALINK. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00490">490</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a539ce44be83455b1651c29da7357f483"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a539ce44be83455b1651c29da7357f483">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_sii_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_sii_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: SII SIZE. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00578">578</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="ac1d34306750a2c345bb81b4d795427c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1d34306750a2c345bb81b4d795427c0">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_sii_data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_sii_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: SII DATA. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00650">650</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a45a7dff65d10e03da84754eb73be7d85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45a7dff65d10e03da84754eb73be7d85">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_preop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_preop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: PREOP. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00907">907</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="ab25422fd2748169ea2fc8827137d1cbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab25422fd2748169ea2fc8827137d1cbf">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_sync()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_sync </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: SYNC. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00926">926</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="ab38334b5c2095e952b5e76906f70658a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab38334b5c2095e952b5e76906f70658a">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_pdos()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_pdos </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan state: PDOS. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00988">988</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a3baaae371ddb7a305d1d37b7b9175604"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3baaae371ddb7a305d1d37b7b9175604">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_end()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_end </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>State: END. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l01021">1021</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="ae1fc71bdea10b2c4d4d1a24c67d14915"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1fc71bdea10b2c4d4d1a24c67d14915">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_state_error()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_state_error </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>State: ERROR. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l01011">1011</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a3357ab75dcccf4f03ce2621de48044d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3357ab75dcccf4f03ce2621de48044d9">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_enter_datalink()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_enter_datalink </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave scan entry function: DATALINK. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00429">429</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="aecfeac1eba1a56c496c9e41399695cfb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecfeac1eba1a56c496c9e41399695cfb">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_enter_preop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_enter_preop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enter slave scan state PREOP. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00869">869</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a8175ccbe5743b4a7e3c3450122ecb70d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8175ccbe5743b4a7e3c3450122ecb70d">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_enter_pdos()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_enter_pdos </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enter slave scan state PDOS. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00972">972</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a8cc2c3a15907436ab5261917eac11368"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cc2c3a15907436ab5261917eac11368">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="fsm__slave__config_8h.html#a31e1e414b22a05b9dd1302d6ed036c0b">ec_fsm_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>fsm_slave_config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm_pdo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Slave scanning state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
    <tr><td class="paramname">fsm_slave_config</td><td>Slave configuration state machine to use. </td></tr>
    <tr><td class="paramname">fsm_pdo</td><td>PDO configuration machine to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00079">79</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="abe0acf4f2239f98a2c64140d8239dbfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe0acf4f2239f98a2c64140d8239dbfe">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00099">99</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a83f6387b6036e27b4ac97a992ec17367"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83f6387b6036e27b4ac97a992ec17367">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_start()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *&#160;</td>
          <td class="paramname"><em>slave</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start slave scan state machine. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
    <tr><td class="paramname">slave</td><td>slave to configure </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00111">111</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="ac672b3caec7befa075a341b2c2020cc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac672b3caec7befa075a341b2c2020cc3">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_running()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_fsm_slave_scan_running </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>false, if state machine has terminated </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00126">126</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="ac927c8c1c03764c0f9d86639968f3111"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac927c8c1c03764c0f9d86639968f3111">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_exec()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_fsm_slave_scan_exec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Executes the current state of the state machine. </p>
<p>If the state machine's datagram is not sent or received yet, the execution of the state machine is delayed to the next cycle. </p><dl class="section return"><dt>Returns</dt><dd>false, if state machine has terminated </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00141">141</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="ae24bf2f23955c4ab08862330f578c749"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae24bf2f23955c4ab08862330f578c749">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_success()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_fsm_slave_scan_success </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true, if the state machine terminated gracefully </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00159">159</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
<a id="a92b43c9b40ef144ddd93bac1011fe6c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92b43c9b40ef144ddd93bac1011fe6c2">&#9670;&nbsp;</a></span>ec_fsm_slave_scan_enter_sii_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_slave_scan_enter_sii_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__slave__scan_8h.html#af779dfb24a2c28e995f2080786b5f56f">ec_fsm_slave_scan_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enter slave scan state SII_SIZE. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>slave state machine </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__slave__scan_8c_source.html#l00447">447</a> of file <a class="el" href="fsm__slave__scan_8c_source.html">fsm_slave_scan.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="fsm__slave__scan_8c.html">fsm_slave_scan.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
